package com.mine.control;

import java.sql.Connection;
import java.sql.DriverManager;

public class ConnectMYSQL {

//	public static void main(String[] args) throws Exception {
//		Connection c = ConnectMYSQL.connectMySql();
//		System.out.println(c==null);
//	}
	protected static Connection connectMySql() throws Exception{
		Class.forName("com.mysql.jdbc.Driver").newInstance();
		Connection con = DriverManager.getConnection("jdbc:mysql://10.5.176.118:3306/testreport","root","666950");
		return con;
	}
}
